﻿namespace Basic.FormRemoteModel.UserForm.Model
{
    public class UserFormBody
    {
        /// <summary>
        /// 记录ID
        /// </summary>
        public long? RecordId { get; set; }
        /// <summary>
        /// 表单ID
        /// </summary>
        public long FormId
        {
            get;
            set;
        }
        /// <summary>
        /// 表单名称
        /// </summary>
        public string FormName { get; set; }

        /// <summary>
        /// 表单说明
        /// </summary>
        public string FormShow { get; set; }

        /// <summary>
        /// 表列表
        /// </summary>
        public UserFormTable[] Table { get; set; }

        /// <summary>
        /// 公式信息
        /// </summary>
        public UserFormula[] UserFormula { get; set; }

        /// <summary>
        /// 状态公式信息
        /// </summary>
        public UserFormula[] StateFormula { get; set; }

        /// <summary>
        /// 列的默认状态
        /// </summary>
        public Dictionary<long, FormStateControl> DefState { get; set; }
    }
}
